/**
 * 
 */
package com.thinkgem.javamg.modules.busi.entity;

import com.thinkgem.javamg.common.persistence.DataEntity;

import java.util.Date;
import java.util.List;

/**
 * 资讯Entity
 * @author zengzy
 * @version 2017-09-13
 */
public class News extends DataEntity<News> {
	
	private static final long serialVersionUID = 1L;
	private Integer typeId;		// 类别ID（关联news_type表）1赛事 2娱乐 3攻略 4视频 6图集
	private Integer subjectId;		// 专题ID（关联news_subject表）
	private String title;		// 资讯标题
	private String picurl;		// 图片路径
	private String smallpicurl;		// 缩略图地址
	private String videourl;		// 视频路径
	private String subjectPic;		// 资讯列表专题显示图片
	private String source;		// 来源
	private String author;		// 作者
	private String content;		// 正文
	private Date addtime;		// 添加时间
	private Date publishTime;		// 发布时间
	private Integer isTop;		// 是否置顶1是0否
	private Date topEndtime;		// 置顶到期时间
	private Date topTime;		// 置顶时间
	private Integer isDelete=2;		// 删除标识1是0否(为已发布),2状态为草稿
	private String isList;		// 是否进入专题列表页 1是0否
	private Integer actualAmount;		// 实际阅读量
	private Integer virtualAmount;		// 虚拟阅读量（默认0次，填写正数是实际阅读次数+数字；填写负数是实际阅读次数-数字；）
	private Integer sortNum;		// 设置排序值填写数字，数字越大越靠前
	private Integer isAutopush;		// 是否自动推送，0:否，1是
	private Integer pushFlag;		// 是否已经推送空或0未推送，1已经推送过，2推送触发但未任何设备查询
	private String pushProv;		// 推送范围省份
	private String pushCity;		// 推送范围城市
	private String reviewUrl;		// review_url
	private String tag;		// 关键词（Tag）
	private String tab;		// tab
	private Integer sort;		// 用于资讯上下交换位置时使用
	private Integer subjectSort;		// 用于专题中资讯上下交换位置时使用
	private Integer subjectIsTop;		// 专题资讯是否置顶1是0否
	private List<NewsAlbum> newsAlbumList;//图集

	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public Integer getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(Integer subjectId) {
		this.subjectId = subjectId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPicurl() {
		return picurl;
	}

	public void setPicurl(String picurl) {
		this.picurl = picurl;
	}

	public String getSmallpicurl() {
		return smallpicurl;
	}

	public void setSmallpicurl(String smallpicurl) {
		this.smallpicurl = smallpicurl;
	}

	public String getVideourl() {
		return videourl;
	}

	public void setVideourl(String videourl) {
		this.videourl = videourl;
	}

	public String getSubjectPic() {
		return subjectPic;
	}

	public void setSubjectPic(String subjectPic) {
		this.subjectPic = subjectPic;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getAddtime() {
		return addtime;
	}

	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Date getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

	public Integer getIsTop() {
		return isTop;
	}

	public void setIsTop(Integer isTop) {
		this.isTop = isTop;
	}

	public Date getTopEndtime() {
		return topEndtime;
	}

	public void setTopEndtime(Date topEndtime) {
		this.topEndtime = topEndtime;
	}

	public Date getTopTime() {
		return topTime;
	}

	public void setTopTime(Date topTime) {
		this.topTime = topTime;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public String getIsList() {
		return isList;
	}

	public void setIsList(String isList) {
		this.isList = isList;
	}

	public Integer getActualAmount() {
		return actualAmount;
	}

	public void setActualAmount(Integer actualAmount) {
		this.actualAmount = actualAmount;
	}

	public Integer getVirtualAmount() {
		return virtualAmount;
	}

	public void setVirtualAmount(Integer virtualAmount) {
		this.virtualAmount = virtualAmount;
	}

	public Integer getSortNum() {
		return sortNum;
	}

	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}

	public Integer getIsAutopush() {
		return isAutopush;
	}

	public void setIsAutopush(Integer isAutopush) {
		this.isAutopush = isAutopush;
	}

	public Integer getPushFlag() {
		return pushFlag;
	}

	public void setPushFlag(Integer pushFlag) {
		this.pushFlag = pushFlag;
	}

	public String getPushProv() {
		return pushProv;
	}

	public void setPushProv(String pushProv) {
		this.pushProv = pushProv;
	}

	public String getPushCity() {
		return pushCity;
	}

	public void setPushCity(String pushCity) {
		this.pushCity = pushCity;
	}

	public String getReviewUrl() {
		return reviewUrl;
	}

	public void setReviewUrl(String reviewUrl) {
		this.reviewUrl = reviewUrl;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public String getTab() {
		return tab;
	}

	public void setTab(String tab) {
		this.tab = tab;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Integer getSubjectSort() {
		return subjectSort;
	}

	public void setSubjectSort(Integer subjectSort) {
		this.subjectSort = subjectSort;
	}

	public Integer getSubjectIsTop() {
		return subjectIsTop;
	}

	public void setSubjectIsTop(Integer subjectIsTop) {
		this.subjectIsTop = subjectIsTop;
	}

	public List<NewsAlbum> getNewsAlbumList() {
		return newsAlbumList;
	}

	public void setNewsAlbumList(List<NewsAlbum> newsAlbumList) {
		this.newsAlbumList = newsAlbumList;
	}
}